package com.swas.dao;

import com.swas.entity.BuyBack;
import com.swas.entity.BuyBackExample;
import java.util.List;

import com.swas.vo.BaseStockVO;
import org.apache.ibatis.annotations.Param;

public interface BuyBackDao {
    long countByExample(BuyBackExample example);

    int deleteByExample(BuyBackExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BuyBack record);

    int insertSelective(BuyBack record);

    List<BuyBack> selectByExample(BuyBackExample example);

    BuyBack selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuyBack record, @Param("example") BuyBackExample example);

    int updateByExample(@Param("record") BuyBack record, @Param("example") BuyBackExample example);

    int updateByPrimaryKeySelective(BuyBack record);

    int updateByPrimaryKey(BuyBack record);

}